home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
163_01
/
isalnum.c
< prev
next >
Wrap
Text File
|
1988-01-30
|
384b
|
9 lines
/*
** isalnum -- true if argument is valid ASCII alphabetic or digit
*/
isalnum(c) char c; {
if((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9')) return 1;
else return 0;
}